# 使用的外部环境
FROM java:8

# 映射容器卷
VOLUME /tmp

# 往容器中添加jar包
ADD /target/spring-boot-docker-demo.0.0.1-SNAPSHOT.jar /app.jar

# 启动入口
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
